﻿using XsqTech.SmartOA.Dtos.DTO;
using XsqTech.SmartOA.Service.DTO;
using XsqTech.SmartOA.Domain.Table;

namespace XsqTech.SmartOA.IService
{
    /// <summary>
    /// 权限服务接口
    /// </summary>
    public interface IPermissionService
    {
        //添加
        ResponseModel PermissionAdd(PermissionDto m);
        //显示
        dynamic Recursion();
        //删除
        ResponseModel PermissionDel(string id);
        //修改
        ResponseModel PermissionUpt(PermissionDto dto);
        //根据主键获取权限
        ResponseModel PermissionGet(string id);
    }
}